package com.example.douyinserver.collector;

import com.fasterxml.jackson.annotation.*;
//用户信息
public class user {
    private long followCount;
    private long followerCount;
    private long id;
    private boolean isFollow;
    private String name;

    public user(){
        followCount=10l;
        followerCount=10l;
        id=10l;
        isFollow=true;
        name="大队长";
    }
    @JsonProperty("follow_count")
    public long getFollowCount() { return followCount; }
    @JsonProperty("follow_count")
    public void setFollowCount(long value) { this.followCount = value; }

    @JsonProperty("follower_count")
    public long getFollowerCount() { return followerCount; }
    @JsonProperty("follower_count")
    public void setFollowerCount(long value) { this.followerCount = value; }

    @JsonProperty("id")
    public long getID() { return id; }
    @JsonProperty("id")
    public void setID(long value) { this.id = value; }

    @JsonProperty("is_follow")
    public boolean getIsFollow() { return isFollow; }
    @JsonProperty("is_follow")
    public void setIsFollow(boolean value) { this.isFollow = value; }

    @JsonProperty("name")
    public String getName() { return name; }
    @JsonProperty("name")
    public void setName(String value) { this.name = value; }
}
